RiverSync
SPEC-DDD-SUP · v0.2
28 June 2026
Owner: Platform team

Support — the service & messaging bounded context

The work that keeps every device running: service tickets with SLA frozen from the agreement tier at creation, and the customer ↔ RiverSync/partner messaging threads where alarms and appointments are handled in the conversation. A supporting subdomain — tickets and messaging tuned to the product, but a recognised pattern.

DraftSupporting subdomainTickets · threads
Drill-down of the master domain architecture. Requirements: SPEC-APP-PTL (PTL-2, PTL-4) + PRD-PAR (PAR-2). Boundaries, routes and events render from domain/domain-catalog.js — definitions are never copied per document.

1Ownership & boundaries

Support owns the ticket, the visit and the thread — three records shared by three audiences (customer, assignee org, RiverSync). Its defining denormalization: ServiceTicket.Sla is copied from the device's agreement tier at creation, so a coverage move never rewrites open work.

Reads from: Devices (registry, alerts) · Coverage (SLA tier at creation; partner scope for queues) · Structure (visit site support-info, scope-gated) · Identity (engineer accounts).

2Ubiquitous language

The words this context uses — the same in code, conversation and spec.

3Aggregates & invariants

The consistency boundaries — one root each, guarding its invariants in a single transaction; cross-aggregate ties are by identity.

4Context relationships

How this context meets its neighbours, with the integration pattern named on each edge.

5Physical view — the service API

The deployment mapping: this context becomes the Support service. Paths relative to api.riversync.com/v1; access notation per the master.

RiverSync Co., Ltd. · BangkokSPEC-DDD-SUP · 1 of 2

6Domain events

The past-tense facts this context publishes (and consumes) — its share of the platform's published language.

7Invariants in play

The modeling rules that bind this context — the master holds the full set; data integrity stays with the ERD drill-downs.

8Revision history

VersionDateChanges
0.112 Jun 2026First draft — split proposed with SPEC-DDD v0.1
0.228 Jun 2026Reframed as a Domain-Driven Design context (with the set, SPEC-DDD v0.14) — leads with ubiquitous language & aggregates (ServiceTicket, ChatThread) and the context relationships (customer/supplier from Devices via alert.raised; partnership with Field around a visit). Classified a supporting subdomain; the API is demoted to the physical view. No ownership change.
RiverSync Co., Ltd. · BangkokSPEC-DDD-SUP · 2 of 2